package com.chenfan.process.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author liuming
 * @date 2021/10/11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ApprovalOperationDTO {

    @ApiModelProperty(value = "审批实例ID", example = "1", required = true)
    private Long approvalId;

    @ApiModelProperty(value = "审批是否通过", example = "true", required = true)
    private boolean approvalFlag;

    @ApiModelProperty(value = "评论", example = "审批通过")
    private String remark;

    @ApiModelProperty(value = "参数, 分支节点需要传递", example = "10")
    private String parameter;

    @ApiModelProperty(value = "用户ID", example = "1", required = true)
    private Long userId;

    @ApiModelProperty(value = "用户名称", example = "大明", required = true)
    private String userName;

    @ApiModelProperty(value = "指定的用户ID", example = "1", hidden = true)
    private Long nextUserId;

    @ApiModelProperty(value = "指定的用户名称", example = "大明", hidden = true)
    private String nextUserName;
}
